Device with composite spacer and method for manufacturing the same

ABSTRACT

A device includes a first conductive via plug, a first electrode, a storage element, a second electrode, a spacer, a barrier structure, a first dielectric layer. The first electrode is over the first conductive via plug. The storage element is over the first electrode. The second electrode is over the storage element. The spacer has a bottom portion extending along a top surface of the first electrode and a standing portion extending from the bottom portion and along a sidewall of the second electrode. The barrier structure extends from the bottom portion of the spacer and along a sidewall of the standing portion of the spacer. The first dielectric layer is substantially conformally over the spacer and the barrier structure.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/783,030, filed Oct. 13, 2017, now U.S. Pat. No. 10,510,952, issuedDec. 17, 2019, which is a divisional of U.S. patent application Ser. No.14/740,101, filed Jun. 15, 2015, now U.S. Pat. No. 9,806,254, issuedOct. 31, 2017, which are herein incorporated by reference in theirentirety.

BACKGROUND

Semiconductor products are used in a variety of electronic application,such as person computers, cell phones, digital cameras, and otherelectronic equipments. For instance, memory devices such asrandom-access memories (RAM) are necessarily used in many electronicdevices. The semiconductor integrated circuit (IC) industry hasexperienced rapid growth. Technological progress in IC manufacture hasproduced several generations of ICs, and each generation fabricatessmaller and more complex circuits than the previous generation. Severaladvanced techniques have been developed to implement technique nodeswith smaller feature sizes, and these techniques are employed in themanufacturing of the storage devices, for example. However, while thefeature size is smaller than a certain dimension, some processes havenot been entirely satisfactory in all respects.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are best understood from the followingdetailed description when read with the accompanying figures. It isnoted that, in accordance with the standard practice in the industry,various features are not drawn to scale. In fact, the dimensions of thevarious features may be arbitrarily increased or reduced for clarity ofdiscussion.

FIG. 1 is a flow chart illustrating a method of forming a storage deviceaccording to various embodiments of the present disclosure.

FIG. 2 illustrating an approach to implement the operation 12 in aflowchart format according to some embodiments of the presentdisclosure.

FIGS. 3-15 are cross-sectional views schematically illustrating a methodof forming a storage device in various process stages according tovarious embodiment of the present disclosure.

FIG. 16 is a cross-sectional view schematically illustrating asemiconductor device with a misaligned opening according to someembodiments of the present disclosure.

DETAILED DESCRIPTION

The following disclosure provides many different embodiments, orexamples, for implementing different features of the provided subjectmatter. Specific examples of components and arrangements are describedbelow to simplify the present disclosure. These are, of course, merelyexamples and are not intended to be limiting. For example, the formationof a first feature over or on a second feature in the description thatfollows may include embodiments in which the first and second featuresare formed in direct contact, and may also include embodiments in whichadditional features may be formed between the first and second features,such that the first and second features may not be in direct contact. Inaddition, the present disclosure may repeat reference numerals and/orletters in the various examples. This repetition is for the purpose ofsimplicity and clarity and does not in itself dictate a relationshipbetween the various embodiments and/or configurations discussed.

The semiconductor industry has continually improved the speed and powerof integrated circuits (ICs) by reducing the size of components withinthe ICs. Several advanced techniques have been developed to implementtechnique nodes with smaller feature sizes, and these techniques areemployed in the manufacturing of the storage devices, for example.However, while the feature size is smaller than a certain dimension suchas for example about 40 nm (i.e. technique node 40) or less, someprocesses suffer from misalignment and overlay problems that degradedevice performance and decrease the manufacture yield. Accordingly, oneof the aspects of the present disclosure is to provide a solution to themisalignment problems.

The present disclosure relates generally to a semiconductor device suchas for example a storage device and a method of manufacturing thestorage device. In examples, the storage device may be, for example, amagnetoresistive random-access memory (MRAM), resistive random-accessmemory (RRAM), conductive-bridging random-access memory (CBRAM) or thelike. According to various embodiments of the present disclosure, thesemiconductor device or the storage device has a composite spacer with ashape that is different from the spacer in typical semiconductordevices. Various embodiments of the present disclosure will be describedin detail hereinafter.

It will be understood that, although the terms first, second, etc. maybe used herein to describe various elements, these elements should notbe limited by these terms. These terms are only used to distinguish oneelement from another. For example, a first element could be termed asecond element, and, similarly, a second element could be termed a firstelement, without departing from the scope of the embodiments. As usedherein, the term “and/or” includes any and all combinations of one ormore of the associated listed items.

Further, spatially relative terms, such as “beneath,” “below,” “lower,”“above,” “upper” and the like, may be used herein for ease ofdescription to describe one element or feature's relationship to anotherelement(s) or feature(s) as illustrated in the figures. The spatiallyrelative terms are intended to encompass different orientations of thedevice in use or operation in addition to the orientation depicted inthe figures. The apparatus may be otherwise oriented (rotated 90 degreesor at other orientations) and the spatially relative descriptors usedherein may likewise be interpreted accordingly.

It will be understood that when an element is referred to as being“connected” or “coupled” to another element, it can be directlyconnected or coupled to the other element or intervening elements may bepresent. In contrast, when an element is referred to as being “directlyconnected” or “directly coupled” to another element, there are nointervening elements present.

FIG. 1 is a flow chart illustrating a method 10 of forming a storagedevice according to various embodiments of the present disclosure. Themethod 10 includes operation 12, operation 14, operation 16, operation18 and operation 20. FIGS. 3-15 collectively illustrate more detailedmanufacturing methods as a series of cross-sectional views in accordancewith various embodiments of the present disclosure. It will beappreciated that although these methods each illustrate a number ofoperations, acts and/or features, not all of these operations, actsand/or features are necessarily required, and other un-illustratedoperations, acts and/or features may also be present. Also, the orderingof the operations and/or acts in some embodiments can vary from what isillustrated in these figures. In addition, the illustrated acts can befurther divided into sub-acts in some implementations, while in otherimplementations some of the illustrated acts can be carried outconcurrently with one another.

Referring to operation 12 of FIG. 1, a stacked feature having a storageelement is formed over a semiconductor substrate. FIG. 2 illustrating anapproach to implement the operation 12 in a flowchart format accordingto some embodiments of the present disclosure. As shown in FIG. 2, theoperation 12 includes act 22, act 24 and act 26. In addition, FIGS. 3-9depict cross-sectional views at various fabrication stages in theoperation 12 according to some embodiments of the present disclosure. Itshould be noted that the fabrication stages as well as the features inconnection with FIGS. 3-9 are merely examples. A person skilled in theart will recognize there may be many alternatives, variations andmodifications.

In act 22, a first conductive via plug 102 is formed on thesemiconductor substrate 104, as illustrated in FIG. 3. In someembodiments, the semiconductor substrate 104 may include a dielectriclayer 106, and the first conductive via plug 102 is formed in thedielectric layer 106. The dielectric layer 106 may includepolybenzoxazole (PBO), polyimide, benzocyclobutene (BCB),phosphosilicate glass (PSG), borosilicate glass (BSG), boron-dopedphosphosilicate glass (BPSG), silicon nitride, silicon oxide, anycombinations thereof and/or the like. The dielectric layer 210 may beformed by many suitable approaches such as spinning coating, chemicalvapor deposition (CVD), and plasma enhanced CVD (PECVD) and/or the like.The semiconductor substrate 104 may include, for example, bulk silicon,doped or undoped, or an active layer of a semiconductor-on-insulator(SOI) substrate. Other substrates, such as a multi-layered or gradientsubstrate may also be used. In some embodiments, write word lines and/orread word lines (not shown) may be formed under the first conductive viaplug 102 and the dielectric layer 106. Further, one of more transistors(not shown) may be formed under the first conductive via plug 102 andthe dielectric layer 106 in the semiconductor substrate 104, and thetransistors are electrically connected to the first conductive via plug102 through the write word lines and/or read word lines.

In act 24, a first electrode layer is formed over and in contact withthe first conductive via plug 102, as illustrated in FIGS. 3-6. In someembodiments, before the first electrode layer is formed, a firstdielectric layer 110 is deposited over the semiconductor substrate 104as shown in FIG. 3. The first dielectric layer 110 may include siliconnitride (SiN), silicon carbide (SiC), silicon oxy-nitride (SiON), ornitrogen-free anti-reflective coating (NF ARC) material such as forexample SiCO and SiCOH, or the like or the combination thereof. Thefirst dielectric layer 110 may be formed by suitable approaches such aschemical vapor deposition (CVD), plasma enhanced CVD (PECVD), spinningcoating and/or the like. The first dielectric layer 110 may be patternedusing a mask layer 112 such that an aperture 110 a is formed in thefirst dielectric layer 110, as illustrate in FIG. 4. The aperture 110 aexposes at least a portion of the first conductive via plug 102according to some examples of the present disclosure.

In FIG. 5, a conductive material layer 114 is deposited on the firstdielectric layer 110. The conductive material layer 114 covers the firstdielectric layer 110 and fills the aperture 110 a. Thereafter, aplanarization process, such as for example a chemical-mechanicalpolishing (CMP) process, is performed on the conductive material layer114 so as to form the first electrode layer 116, as shown in FIG. 6. Thefirst electrode layer 116 is in contact with the first conductive viaplug 102 through the aperture 110 a. The first electrode layer 116 mayinclude Ti, Ta, TiN, TaN, or other suitable metals or materials, and maybe formed by physical vapor deposition processes, chemical vapordeposition processes or other suitable methods.

In act 26, the stacked feature is formed on the first electrode layer116, as illustrated in FIGS. 7-9. Referring to FIG. 7, a storagematerial layer 120 is formed overlaying the first electrode layer 116,and subsequently a second electrode layer 122 is formed overlaying thestorage material layer 120 according to various embodiments of thepresent disclosure. In some embodiments, the storage material layer 120may include multiple layers. For example, the storage material layer 120may include a magnetic tunnel junction (MTJ) stack having a freesynthetic antiferromagnetic (“SAF”) layer (not shown), a pinned SAFlayer (not shown) and a tunnel barrier layer (not shown) interposedthere between. Further, the free SAF layer may include a plurality offerromagnetic layers (not shown) and at least one antiferromagneticcoupling spacer layers (not shown) interposed between two adjacent onesof the ferromagnetic layers. The pinned SAF layer may include a pinnedferromagnetic layer (not shown), a fixed ferromagnetic layer (not shown)and an antiferromagnetic coupling spacer layer (not shown) interposedthere between. The materials for the tunnel barrier layer may includeelectrically insulating materials that form a tunneling junction.Examples of such materials include MgO, AlN, TaN, and/or Ta₂O₅. In someexamples, the MTJ stack includes Co, Fe, B, Ni, Mg, Mo, or Ru, or thelike, or a combination thereof. MTJ stack can be manufactured by thinfilm technologies, such as magnetron sputter deposition, molecular beamepitaxy, pulsed laser deposition, electron beam physical vapordeposition, or any other suitable methods.

In some embodiments, the storage material layer 120 may includematerials used in RRAMs or CBRAMs. For example, the storage materiallayer 120 may include Ge₂Sb₂Te₅, AgInSbTe, NiO, TiO₂, Sr(Zr)TiO₃, GeS,GeSe, Cu₂S, or the like, or a combination thereof.

The second electrode layer 122 may include Ti, Ta, TiN, TaN, or othersuitable metals, and may be formed by physical vapor depositionprocesses, chemical vapor deposition processes or other suitablemethods. The material of the second electrode layer 122 may be the sameas or different from that of the first electrode layer 116.

Thereafter, a hard mask layer 124 is deposited on the second electrodelayer 122, and followed by lithography and etching processes to form apatterned mask layer 126, as shown in FIG. 8. In specifics, a patternedphotoresist layer 130 may be formed on the hard mask layer 124, and thenthe hard mask layer 124 is etched to form the patterned mask layer 126.

In FIG. 9, a patterning process is carried out on the storage materiallayer 120 and the second electrode layer 122 using the patterned masklayer 126 so as to form the stacked feature 132 including a storageelement 134 and a second electrode 136. In some embodiments, the stackedfeature 132 includes a remained portion of the patterned mask layer 126located on the second electrode 136. The storage material layer 120 andthe second electrode layer 122 may be patterned by any suitable etchingtechniques such as for example dry plasma etching process and reactiveion etching (RIE) techniques.

The acts 22, 24 and 26 illustrated in FIG. 2 provides approaches toimplement the operation 12 of forming the stacked feature 132, which atleast includes the storage element 134 according to various embodimentsof the present disclosure. In some embodiments, the stacked feature 132further includes the second electrode 136 stacked on the storage element134. In yet some embodiments, the storage element 134 and secondelectrode 136 have an identical pattern.

Turning to operation 14 in FIG. 1, a spacer film 140 is formed to coverthe stacked feature 132, as shown in FIG. 10. In some embodiments, thespacer film 140 may include silicon nitride (SiN), silicon carbide(SiC), silicon oxy-nitride (SiON), or nitrogen-free anti-reflectivecoating (NF ARC) material such as for example SiCO and SiCOH, or thelike or a combination thereof, and the spacer film 140 may be formed byany suitable approach such as chemical vapor deposition (CVD), plasmaenhanced CVD (PECVD), spinning coating and/or the like. In someembodiments, the thickness of the spacer film 140 may be about 15 nm toabout 100 nm, specifically about 25 nm to about 80 nm, more specificallyabout 30 nm to about 60 nm. In addition, according to some examples ofthis disclosure, the spacer film 140 is conformally deposited over thestacked feature 132 that includes the storage element 134, the secondelectrode 136 and the remained patterned mask layer 126.

In operation 16, a barrier layer 142 is formed to cover the spacer film140, as shown in FIG. 11. In some embodiments, the etching resistance ofthe material constituting the barrier layer 142 is greater than that ofthe material constituting the spacer film 140. In examples, the barrierlayer 142 may include undoped silica glass (USG), fluorine silica glass(FSG), tetraethyl orthosilicate (TEOS)-based oxide, or the like, or acombination thereof. In yet some embodiments, the thickness T1 of thebarrier layer 142 is approximately 5-35% of the thickness T2 of thespacer film 140, specifically approximately 10-30% of the thickness T2.In some examples, when the thickness T1 of the barrier layer 142 isgreater than a certain value such as for example 35% of the thicknessT2, it is unfavorable to the subsequent operation 18. In contrast, whenthe thickness T1 of the barrier layer 142 is less than a certain valuesuch as for example 5% of the thickness T2, the barrier layer 142 may beinsufficient to control the shape of certain features in the subsequentoperation 18, and this is described in detail hereinafter. In someexamples, the thickness T1 of the barrier layer 142 may be about 5 nm toabout 30 nm, specifically about 7 nm to about 20 nm, more specificallyabout 8 nm to about 15 nm.

In operation 18, an etching process is performed on the barrier layer142 and the spacer film 140 using an etchant so as to form a spacer 144and a barrier structure 146, as shown in FIG. 12. The spacer 144 ispositioned on the sidewall of the stacked feature 132, and further thebarrier structure 146 is embedded in a lateral 144 c of the spacer 144.In some embodiments, the etching process in operation 18 is a dryetching process, in which no photoresist layer is provide on the barrierlayer 142, and therefore the barrier layer 142 and the spacer film 140are etched in a comprehensive manner. Furthermore, because the etchingresistance to the etchant of the barrier layer 142 is greater than thatof the spacer film 140, the obtained spacer 144 and barrier structure146 have a particular shape. Particularly, a notch 150 is formed on atop surface of the spacer 144, and the obtained spacer 144 has asufficient thickness since the barrier layer 142 restrains the etchingexerted on the lateral 144 c of the spacer 144. The spacer 144 and thebarrier layer 142 constitute a composite spacer on the sidewall thestacked feature 132.

In some embodiments, the spacer 144 includes a bottom portion 144 a anda standing portion 144 b extending upwards from the bottom portion 144a, and the width W3 of the bottom portion 144 a is greater than thewidth W2 of the standing portion 144 b. In some embodiments, the barrierstructure 146 stands on the bottom portion 144 a and in contact with thelateral 144 c of the standing portion 144 b.

In yet some embodiments, the operation 18 of etching the barrier layer142 and the spacer film 140 further constitutes a taper top 146 a of thebarrier structure 146, as shown in FIG. 12. In some examples, the notch150 of the spacer 144 has a bottom 150 a positioned at a level below thetaper top 146 a of the barrier structure 146. In yet some examples, thedistance D between the taper top 146 a and the bottom 150 a of the notch150 defines the depth D of the notch 150, and the depth D of the notch150 is approximately 3-30% of the height H of the barrier structure 146.For example, the depth D is approximately 3-15% of the height H, orapproximately 10-30% of the height H.

In yet some embodiments, the width W1 of the barrier structure 146 isapproximately 5-35% of the width W2 of the standing portion 144 b of thespacer 144, specifically approximately 10-30% of the width W2.

The etching rate of the spacer film 140 is at least 8 folds of that ofthe barrier layer 142 in the operation 18 according to variousembodiments of the present disclosure. In some examples, the etchantused in the operation 18 includes halogen. In yet some examples, theetchant includes F, Cl and Br. In yet some examples, the etchantincludes at least one of CH₂F₂, CF₄, HBr, Cl₂, or the like, or a mixturethereof.

The first electrode layer 116 may be optionally etched so to form thefirst electrode 118, as shown in FIG. 13, after or during the operation18 according to some embodiments of the present disclosure. In someexamples, the bottom portion 144 a of the spacer 144 is positioned onand in contact with the top surface 118 a of the first electrode 118. Insome examples, the width W3 of the bottom portion 144 a of the spacer144 is approximately 5-30% of the width W4 of the first electrode 118,specifically approximately 10-25% of the width W4.

In operation 20, a dielectric layer 160 is formed to cover the stackedfeature 132, the spacer 144 and the barrier structure 146, as shown inFIG. 14. In some embodiments, the dielectric layer 160 includes a seconddielectric layer 162 and a third dielectric layer 163. The seconddielectric layer 162 conformally covers the stacked feature 132, thespacer 144 and the barrier structure 146. The third dielectric layer 163is deposited on the second dielectric layer 162 and functions as aplanarization layer.

According to various embodiments of the present disclosure, the method10 may optionally include other operations or acts after the operation20. As shown in FIG. 15, an opening 164 may be formed in the dielectriclayer 160 at a position aligned with the stacked feature 132 such that aportion of the second electrode 136 is exposed. When a part of thepatterned mask layer 126 is reminded on the second electrode 136, theopening 164 further passes through the reminded patterned mask layer126. After the opening 164 is formed, a second conductive via plug 170is formed in the opening 164 and in contact with the second electrode136.

As described hereinbefore, some processes in advanced techniques, suchas for example Node 40, suffer the misalignment problems. In theseadvanced techniques, the width W5 of the second electrode 136 (or thestorage element 134) is further decreased, and the design rule mayrender the width W6 of the opening 164 (or the second conductive viaplug 170) being greater than 60% of the width W5 of the second electrode136, so that the misalignment possibility in forming the opening 164undesirably increases.

FIG. 16 is a cross-sectional view schematically illustrating asemiconductor device with a misaligned opening 164. When misalignmentoccurs in the photo process of forming the opening 164, the spacer 144has an enough thickness to confront the subsequent etching in the areaout of the second electrode 136. The remained spacer 144 still providessufficient isolation or barrier between the follow-up conductive viaplug 170 and each of the first electrode 118 and the storage element134. Therefore, although such misalignment occurs, the semiconductordevice is still workable.

According to another aspect of the present disclosure, a semiconductordevice such as for example a storage device is provided. FIG. 15 alsoillustrates a cross-sectional view of a storage device 200 according tovarious embodiments of the present disclosure. The storage device 200includes a first electrode 118, a second electrode 136, a storageelement 134, a spacer 144 and a barrier structure 146.

The first electrode 118 and the second electrode 136 are opposite toeach other. In some embodiments, the second electrode 136 is disposedover the first electrode 118, and the width of the second electrode 136is smaller than the width of the first electrode 118. In some examples,the first electrode layer 116 may include Ti, Ta, TiN, TaN, or othersuitable metals or materials. Similarly, second electrode 136 mayinclude Ti, Ta, TiN, TaN, or other suitable metals or materials.

The storage element 134 is disposed between the first electrode 118 andthe second electrode 136. In some embodiments, the storage element 134includes a free synthetic antiferromagnetic (“SAF”) layer, a pinned SAFlayer and a tunnel barrier layer interposed there between. In someembodiments, the storage element 134 may include materials used in RRAMsor CBRAMs. For example, the storage material layer 120 may includeGe₂Sb₂Te₅, AgInSbTe, NiO, TiO₂, Sr(Zr)TiO₃, GeS, GeSe, Cu₂S, or thelike, or a combination thereof.

The spacer 144 is formed on a sidewall of the second electrode 136, andthe spacer 144 has a notch 150 positioned on a top surface of the spacer144. In some embodiments, the spacer 144 is directly attached to both ofthe sidewalls of the second electrode 136 and the storage element 134.In yet some embodiments, the spacer 144 includes a bottom portion 144 aand a standing portion 144 b extending upwards from the bottom portion144 a, in which the width W3 of the bottom portion 144 a (indicated inFIG. 12) is greater than the width W2 of the standing portion 144 b. Insome embodiments, the width W3 of the bottom portion 144 a of the spacer144is approximately 5-30% of the width W4 of the first electrode 118(indicated in FIG. 13). In some examples, the bottom portion 144 a ispositioned on and in contact with a top surface 118 a of the firstelectrode 118 (indicated in FIG. 13).

Referring to FIG. 15, the barrier structure 146 is embedded in a lateral144 c of the spacer 144. It is noted that the barrier structure 146 hasa top 146 a extending upwards past the bottom 150 a of the notch 150. Insome embodiments, the distance D between the top 146 a of the barrierstructure 146 and the bottom 150 a of the notch 150 defines the depth Dof the notch 150, and the depth D of the notch 150 is approximately3-30% of the height H of the barrier structure 146, as shown in FIG. 12.In some embodiments, the barrier structure 146 stands on the bottomportion 144 a of the spacer 144 and further in contact with the lateral144 c of the standing portion 144 b. In yet some embodiments, the widthW1 of the barrier structure 146 (indicated in FIG. 12) is approximately5-35% of the width W2 of the standing portion 144 b.

According to various embodiments, the storage device 200 furtherincludes a first conductive via plug 102 and a second conductive viaplug 170. The first conductive via plug 102 is disposed below the firstelectrode 118, whereas the second conductive via plug 170 is disposedabove the second electrode 136. Further, the first conductive via plug102 and the second conductive via plug 170 are respectively in contactwith the first electrode 118 and the second electrode 136.

In some embodiments, the width W6 of the second conductive via plug 170is approximately 60-180% of a width W5 of the storage element 134. Insome examples, the width W6 of the second conductive via plug 170 isapproximately 60-100% of the width W5 of the storage element 134. In yetsome examples, the width W6 of the second conductive via plug 170 isapproximately 100-180% of a width W5 of the storage element 134.

According to some embodiments, a device includes a first conductive viaplug, a first electrode, a storage element, a second electrode, aspacer, a barrier structure, a first dielectric layer. The firstelectrode is over the first conductive via plug. The storage element isover the first electrode. The second electrode is over the storageelement. The spacer has a bottom portion extending along a top surfaceof the first electrode and a standing portion extending from the bottomportion and along a sidewall of the second electrode. The barrierstructure extends from the bottom portion of the spacer and along asidewall of the standing portion of the spacer. The first dielectriclayer is substantially conformally over the spacer and the barrierstructure.

According to some embodiments, a device includes a conductive via plug,a first electrode, a storage element, a second electrode, a spacer, anda barrier structure. The first electrode is over the conductive viaplug. The storage element is over the first electrode. The secondelectrode is over the storage element. The second electrode is over thestorage element. The spacer has a bottom portion extending along a topsurface of the first electrode and a standing portion extending from thebottom portion and along and contacting a sidewall of the secondelectrode. The barrier structure extends from the bottom portion of thespacer and along a sidewall of the standing portion of the spacer.

According to some embodiments, a method includes depositing a firstelectrode layer over a conductive via plug. The storage element layer isdeposited over the first electrode layer. The second electrode layer isdeposited over the storage element layer. The second electrode layer andthe storage element layer are etched to form a stack feature over thefirst electrode layer. The spacer layer is deposited over the stackfeature and the first electrode layer. The barrier structure layer isdeposited over the spacer layer. After the barrier structure layer isdeposited, the barrier structure layer and the spacer layer are etchedto remove a portion of the barrier structure layer and a portion of thespacer layer from a top surface of the stack feature and to form aspacer adjacent a sidewall of the stacked feature and a barrierstructure adjacent a sidewall of the spacer.

What is claimed is:
 1. A device comprising: a first conductive via plug; a first electrode over the first conductive via plug; a storage element over the first electrode; a second electrode over the storage element; a spacer having a bottom portion extending along a top surface of the first electrode and a standing portion extending from the bottom portion and along a sidewall of the second electrode; a barrier structure extending from the bottom portion of the spacer and along a sidewall of the standing portion of the spacer; and a first dielectric layer substantially conformally over the spacer and the barrier structure.
 2. The device of claim 1, further comprising a second dielectric layer over the first conductive via plug, wherein the first electrode has a portion extending through the second dielectric layer to a top surface of the first conductive via plug.
 3. The device of claim 2, wherein the first dielectric layer has a bottom portion extending along a top surface of the second dielectric layer and a standing portion extending from the bottom portion of the first dielectric layer and along a sidewall of the first electrode, a sidewall of the bottom portion of the spacer, and a sidewall of the barrier structure.
 4. The device of claim 3, wherein a bottommost surface of the first dielectric layer is below a topmost surface of the second dielectric layer.
 5. The device of claim 1, further comprising a third dielectric layer over the first dielectric layer, wherein the top surface of the first electrode is above a bottommost surface of the third dielectric layer.
 6. The device of claim 5, further comprising a second conductive via plug extending to the second electrode through the third dielectric layer.
 7. The device of claim 6, further comprising a mask layer over the second electrode, wherein the second conductive via plug extends through the mask layer.
 8. A device comprising: a conductive via plug; a first electrode over the conductive via plug; a storage element over the first electrode; a second electrode over the storage element; a spacer having a bottom portion extending along a top surface of the first electrode and a standing portion extending from the bottom portion and along and contacting a sidewall of the second electrode; and a barrier structure extending from the bottom portion of the spacer and along a sidewall of the standing portion of the spacer.
 9. The device of claim 8, further comprising a dielectric layer extending along a sidewall of the bottom portion of the spacer and a sidewall of the barrier structure.
 10. The device of claim 8, further comprising a dielectric layer extending along a top surface of the barrier structure and a top surface of the standing portion of the spacer.
 11. The device of claim 8, wherein a topmost of the barrier structure is above a topmost of the spacer.
 12. The device of claim 8, further comprising a mask layer over the second electrode, wherein a topmost of the barrier structure is above a topmost of the mask layer.
 13. The device of claim 8, wherein a sidewall of the bottom portion of the spacer is substantially aligned with a sidewall of the first electrode.
 14. The device of claim 8, wherein a sidewall of the barrier structure is substantially aligned with a sidewall of the first electrode.
 15. A method comprising: depositing a first electrode layer over a conductive via plug; depositing a storage element layer over the first electrode layer; depositing a second electrode layer over the storage element layer; etching the second electrode layer and the storage element layer to form a stack feature over the first electrode layer; depositing a spacer layer over the stack feature and the first electrode layer; deposing a barrier structure layer over the spacer layer; and after deposing the barrier structure layer, etching the barrier structure layer and the spacer layer to remove a portion of the barrier structure layer and a portion of the spacer layer from a top surface of the stack feature and to form a spacer adjacent a sidewall of the stacked feature and a barrier structure adjacent a sidewall of the spacer.
 16. The method of claim 15, further comprising depositing a dielectric layer substantially conformally over the stack feature, the spacer, and the barrier structure.
 17. The method of claim 15, further comprising: before depositing the first electrode layer, depositing a dielectric layer over the conductive via plug; and etching the dielectric layer to expose the conductive via plug, wherein depositing the first electrode layer forms the first electrode layer over the etched second dielectric layer and the conductive via plug.
 18. The method of claim 15, further comprising: before depositing the storage element layer, planarizing the first electrode layer.
 19. The method of claim 15, further comprising: before etching the second electrode layer and the storage element layer, depositing a mask layer over the second electrode layer.
 20. The method of claim 19, wherein depositing the spacer layer forms the spacer layer over the mask layer. 